package com.dazhao.animejaphome.home;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.dazhao.animejaphome.R;


public class SplashActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
//        try{
//            new Thread(new Runnable() {
//                @Override
//                public void run() {
//                    finish();
//                }
//            }).sleep(1000);
//        }catch (Exception e){
//            e.printStackTrace();
//        }

        finish();

        startActivity(new Intent(this,HomeActivity.class));
        overridePendingTransition(R.anim.hold, R.anim.zoom_in_exit);
     }
}
